package com.punai.customer.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 标准费用项材机耗量地区对象 cus_link_subpk_consume_address
 *
 * @author zhx
 * @date 2023-02-02
 */
public class CusLinkSubpkConsumeAddress extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
        private String id;

    /** 公司id */
        private Long companyId;

            private String specId;

    /** 地区 */
            @Excel(name = "地区")
        private String address;

    /** 部门id */
            @Excel(name = "部门id")
        @TableField(fill = FieldFill.INSERT)
        private Long deptId;

    /** 用户id */
            @Excel(name = "用户id")
        @TableField(fill = FieldFill.INSERT)
        private Long userId;

    /** 排序 */
            @Excel(name = "排序")
        private Integer orderNum;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setCompanyId(Long companyId)
            {
            this.companyId = companyId;
            }

    public Long getCompanyId()
            {
            return companyId;
            }

            public String getSpecId() {
                return specId;
            }

            public void setSpecId(String specId) {
                this.specId = specId;
            }

            public void setAddress(String address)
            {
            this.address = address;
            }

    public String getAddress()
            {
            return address;
            }
    public void setDeptId(Long deptId)
            {
            this.deptId = deptId;
            }

    public Long getDeptId()
            {
            return deptId;
            }
    public void setUserId(Long userId)
            {
            this.userId = userId;
            }

    public Long getUserId()
            {
            return userId;
            }
    public void setOrderNum(Integer orderNum)
            {
            this.orderNum = orderNum;
            }

    public Integer getOrderNum()
            {
            return orderNum;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("address", getAddress())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("orderNum", getOrderNum())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
        .toString();
        }
        }
